﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

namespace StudentManage.Web.Admin
{
    public partial class LoginOut : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //Session.Clear();
            //Session.RemoveAll();
            FormsAuthentication.SignOut();
            //Response.Cookies["SPZCFX_UName"].Expires = DateTime.Now.AddDays(-1);
            //Response.Cookies["SPZCFX_UPass"].Expires = DateTime.Now.AddDays(-1);
            Response.Redirect("Login.aspx");
        }
    }
}